package com.zbkj.crmeb.chant.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.crmeb.chant.model.ChannelProductBatchInfo;
import com.zbkj.crmeb.chant.request.ChannelProductBatchInfoRequest;
import com.zbkj.crmeb.chant.response.ChannelProductBatchInfoResponse;

import java.util.List;
import java.util.Map;

public interface ChannelProductBatchInfoService extends IService<ChannelProductBatchInfo> {

    /**
     * 功能描述: 批量更新商品
     * @Param: [requests, merId]
     * @Return: java.lang.Boolean
     * @Author: wangzh
     * @Date: 2023/3/21 14:03
     */
    Boolean updateBatchProduct(List<ChannelProductBatchInfoRequest> requests, Integer merId);

    /**
     * 功能描述: 查询批量修改商品列表
     * @Param: [request, merId]
     * @Return: java.util.List<com.zbkj.crmeb.chant.model.ChannelProductBatchInfo>
     * @Author: wangzh
     * @Date: 2023/3/21 14:36
     */
    List<ChannelProductBatchInfoResponse> getList(ChannelProductBatchInfoRequest request, Integer merId);

    Map<Integer, String> getOperationUserMap(Integer merId);
}
